Dr Sarah Marshall, Senior Lecturer, Dept Mathematical Sciences, AUT
12 September 2018
Types of maps
R packages
Exercises
R package: ggmap
R package: ggmap
R package: ggplot2
R package: ggplot2
R package: ggplot2
R package: tmap
R package: tmap
Adapted from https://geocompr.robinlovelace.net/adv-map.html
R package: tmap
Data source: World Bank
R package: tmap
R package: leaflet
R package: leaflet
R package: leaflet
Data source: Statistics New Zealand
R package: leaflet
Types of maps
R packages
Exercises
Rick Dalliessi, former student, provided initial Leaflet code
M. Tennekes (2018). “tmap: Thematic Maps in R.” Journal of Statistical Software, 84(6), 1-39. doi: <10.18637/jss.v084.i06 (URL: http://doi.org/10.18637/jss.v084.i06)>.
D. Kahle and H. Wickham. ggmap: Spatial Visualization with ggplot2. The R Journal, 5(1), 144-161. URL http://journal.r-project.org/archive/2013-1/kahle-wickham.pdf
Joe Cheng, Bhaskar Karambelkar and Yihui Xie (2018). leaflet: Create Interactive Web Maps with the JavaScript ‘Leaflet’ Library. R package version 2.0.1. https://CRAN.R-project.org/package=leaflet
Good overview of mapping tools https://cran.r-project.org/doc/contrib/intro-spatial-rl.pdf
Good introduction to the ggmap package http://stat405.had.co.nz/ggmap.pdf
More advanced information about geo-data https://geocompr.robinlovelace.net/adv-map.html
Useful overview of key R packages https://www.computerworld.com/article/2921176/business-intelligence/great-r-packages-for-data-import-wrangling-visualization.html